package fn_anonymous



func Squares() func() int {
    var x int
    return func() int {
        x++
        return x * x
    }
}

